package cn.yj.cgs.dba.entity;

import cn.yj.cgs.dba.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author 永健
 * @since 2021-06-15 14:41
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "tb_product")
public class Product extends BaseEntity {
    private String productNo;
    private String productName;
    private String description;
    private BigDecimal price;
    private String status;
    private Long viewCount;
    private String typeNo;
    private String userCode;
    private Long stock;
    private String city;
    private String schoolName;
    private String auditStatus;

    @TableLogic
    private Boolean deleted;
}
